package com.yonyou.task;

import com.yonyou.service.OerSecCzzfdServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Repository;

/**
 * @author: wangchu
 * @date: 2025-04-29 15:17
 * @description:
 */
@Slf4j
@Repository
public class OerSecCzzfdTask {

    @Autowired
    private OerSecCzzfdServiceImpl czzfdService;

    /**
     * 受理方法
     */
    @Scheduled(cron = "0 * * * * *")
    public void sync() {
        czzfdService.startCombine();
    }
}